package command;

import parser.ParserConstants;

public class NoSecondaryCommand implements Command {

	@Override
	public void execute() {
		// Don't do anything
		
	}

	public void addSecondaryCommand(Command secondaryCommand) {
		// Don't do anything
		
	}

	@Override
	public void undo() {
		// Don't do anything
		
	}
	
	public boolean hadMovedPreviously(){
		return true;
	}
	/**
	 * This method will return a string representation of the command used for importing and
	 * exporting
	 * @return Returns a string representing the object
	 */
	public String exportCode(){
		return "NONE";
	}
	/**
	 * This method will return a string representation of the command used for saving and
	 * loading
	 * @return Returns a string representing the object
	 */
	@Override
	public String xmlCode() {
		return "<" + ParserConstants.ELEMENT_NO_COMMAND + "></" + ParserConstants.ELEMENT_NO_COMMAND + ">";
	}

	@Override
	public Command getSecondaryCommand() {
		return null;
	}
}
